home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ada / gwuada_5.zip / adaed / spider / draw11.ada < prev    next >
Text File  |  1993-02-04  |  357b  |  30 lines

  1. WITH Spider; USE Spider;  WITH Left;
  2. PROCEDURE Drawing11 IS
  3.  
  4. PROCEDURE Walk IS
  5. BEGIN
  6. WHILE NOT AtWall LOOP
  7.      Step;
  8. END LOOP;
  9. END Walk;
  10.  
  11. PROCEDURE Diagonal IS
  12. BEGIN
  13. WHILE NOT AtWall LOOP
  14.      Step; Turn;
  15.      Step; Left;
  16. END LOOP;
  17. END Diagonal;
  18.  
  19. BEGIN
  20. Start;
  21. Turn;
  22. Walk;
  23. Left;
  24. Walk;
  25. Left;
  26. Left;
  27. Diagonal;
  28. Quit;
  29. END Drawing11;
  30.